body {
  font-family: 'Poppins', sans-serif; /* Use a modern font like Poppins */
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f8f8f8;
  color: #333;
  overflow-x: hidden; /* Prevent horizontal scroll on smaller screens */
}


.team-section {
  padding: 40px 20px; /* Increased padding */
}

.team-section h2 {
  font-size: 2.5em; /* Larger heading */
  color: #222;
  margin-bottom: 40px;
  text-align: center;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
  grid-gap: 30px;
  justify-content: center;
}


.member {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
  text-align: center;
  cursor: pointer;
}

.member:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.member img {
  width: 150px;
  height: 150px;
  border-radius: 50%; /* Circular images */
  margin-bottom: 20px;
  object-fit: cover; /* Ensure images fill the circle */
}

.member h3 {
  font-size: 1.8em; /* Larger name */
  margin-bottom: 10px;
  color: #333;
}

.member p {
  font-size: 1em;
  color: #555;
}


/* Styles for the details section (expandable) */
.details {
  display: none;
  padding: 1rem;
  border-top: 1px solid #eee;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.member.open .details {
  display: block;
  max-height: 200px; /* Adjust as needed */
}

/*  Media query for smaller screens */
@media (max-width: 768px) {
  .team-members {
    grid-template-columns: 1fr; /* Single column on smaller screens */
  }
}
.lab-info {
  margin-top: 40px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lab-info h2, .lab-info h3 {
  color: #222;
  margin-bottom: 15px;
}

.lab-info ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

.lab-info p {
  line-height: 1.8;
  margin-bottom: 15px;
}